package com.qzsoft.zhjd.common.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @ClassName DataFilter
 * @Description 数据权限
 * @author linhuawei
 * @since 2022-01-07
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ZhjdDataFilter {

    public static final String DATA_FILTER_SQL = "DATA_FILTER_SQL";
    
    public static final String DATA_FILTER_PARAMS = "DATA_FILTER_PARAMS";

    /**
     * @Title tableAlias
     * @Description 数据库表别名
     * @return 数据库表别名
     */
    String tableAlias() default "";
    
    /**
     * @Title baseCode
     * @Description 基地编号
     * @return 基地编号
     */
    String baseCode() default "base_code";

}
